<!-- inc:header -->
<div class="notice"><div class="p">
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td><span class="lead">&nbsp;&raquo; 模块管理</span></td>
		<td>
			<select name="groupid" id="groupid" onchange="to_update_g(this.value)">
			<option value="0">全部模块组</option>
			<!-- $grouplist AS $key=>$value -->
			<option value="{:$value[id]}"{if($value[id] == $groupid)} selected{end}>{:$value[title]}<!-- if(!$value[status]) -->【暂停使用】<!-- end --></option>
			<!-- end -->
			</select>
			<input type="button" value="搜索" class="btn2" onclick="to_search();">
			<input type="button" value="添加" class="btn2" onclick="to_group_set();" id="to_g_title">
			<span id="g_del_if" style="display:none;"><input type="button" value="删除" class="btn2" onclick="to_group_del();"></span>
		</td>
		<td align="right"><a href="{:site_url('ctrl,set')}" class="button">添加新组</a></td>
	</tr>
	</table>
</div></div>

<div class="main">
<table width="100%" style="layout:fixed;" cellpadding="0" cellspacing="0">
<tr>
	<td width="8%" class="t_sub">ID</td>
	<td width="5%" class="t_sub">状态</td>
	<td width="110px" class="t_sub">组</td>
	<td class="t_sub">名称</td>
	<td width="15%" class="t_sub">标识</td>
	<td class="t_sub">排序</td>
	<td width="65px" class="t_sub">操作</td>
</tr>
<!-- $rslist AS $key=>$value -->
<tr class="tr_out" onMouseOver="over_tr(this)" onMouseOut="out_tr(this)">
	<td align='center' class="tc_left" height="25px">{:$value[id]}</td>
	<td align="center" class="tc_right" id="status_{:$value['id']}"><a href="javascript:status({:$value[id]},{:intval($value['status'])});void(0);" class="status{:intval($value['status'])}"></a></td>
	<td align="center" class="tc_right">{:$value[g_title] ? $value[g_title] : '<span class="red">全部组</span>'}</td>
	<td  align='left' class="tc_right">&nbsp;{:$value[title]}<!-- if($value[note]) --><span class="clue_on"> [{:$value[note]}]</span><!-- end --></td>
	<td align="center" class="tc_right">{:$value[identifier]}</td>
	<td align="center" class="tc_right">{:$value[taxis]}</td>
	<td align="center" class="tc_right">
		<a href="{:site_url('ctrl,set')}id={:$value[id]}" class="btn edit" title="编辑"></a>
		<a href="javascript:del({:$value['id']});void(0);" class="btn del" title="删除"></a>
		<!-- if($value[ctrl_init] == 'list') -->
		<a href="{:site_url('ctrl,fields')}id={:$value[id]}" class="btn key" title="字段管理"></a>
		<!-- end -->
	</td>
</tr>
<!-- end -->
</table>
</div>
<!-- if($pagelist) --><div class="table">{:$pagelist}</div><!-- end -->
<!-- inc:footer -->